package com.ykdl.member.kid.image;



import android.graphics.Bitmap;

public class CircleImageProcessor implements ImageProcessor {
	private float mRadius;
	private float mBorder;

	public CircleImageProcessor(float radius,float border) {
		mRadius = radius;
		setBorder(border);
	}

	public float getRadius() {
		return mRadius;
	}

	public void setRadius(float radius) {
		mRadius = radius;
	}

	public void setBorder(float mBorder) {
		this.mBorder = mBorder;
	}

	public float getBorder() {
		return mBorder;
	}

	@Override
	public Bitmap process(Bitmap bitmap) {
		return ImageUtil.processCircleBitmap(bitmap, mRadius,mBorder);
	}
}
